package com.eqxiu.ieditor.weixin.common.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "weixin")
@PropertySource(value = "weixin.properties")
@Component
public class WxProperties {

	private String tokenUrl;
	private String ticketUrl;
	private String tokenFallbackUrl;
	private String ticketFallbackUrl;

	private String ticketJsUrl;
	private String unifiedorderUrl;

	private String oauth2TokenUrl;
	private String oauth2UserInfoUrl;
	private String stylishNotifyUrl;

	// https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN
	private String msgSendUrl;

	private String selfmenuUrl;

	private String menuCreateUrl;

	private String autoReplyInfoUrl;

	private String sendTemplateUrl;

	public String getTokenFallbackUrl() {
		return tokenFallbackUrl;
	}

	public void setTokenFallbackUrl(String tokenFallbackUrl) {
		this.tokenFallbackUrl = tokenFallbackUrl;
	}

	public String getTicketFallbackUrl() {
		return ticketFallbackUrl;
	}

	public void setTicketFallbackUrl(String tiketFallbackUrl) {
		this.ticketFallbackUrl = tiketFallbackUrl;
	}

	public String getTokenUrl() {
		return tokenUrl;
	}

	public void setTokenUrl(String tokenUrl) {
		this.tokenUrl = tokenUrl;
	}

	public String getTicketUrl() {
		return ticketUrl;
	}

	public void setTicketUrl(String tiketUrl) {
		this.ticketUrl = tiketUrl;
	}

	public String getTicketJsUrl() {
		return ticketJsUrl;
	}

	public void setTicketJsUrl(String ticketJsUrl) {
		this.ticketJsUrl = ticketJsUrl;
	}

	public String getUnifiedorderUrl() {
		return unifiedorderUrl;
	}

	public void setUnifiedorderUrl(String unifiedorderUrl) {
		this.unifiedorderUrl = unifiedorderUrl;
	}

	public String getOauth2TokenUrl() {
		return oauth2TokenUrl;
	}

	public void setOauth2TokenUrl(String oauth2TokenUrl) {
		this.oauth2TokenUrl = oauth2TokenUrl;
	}

	public String getOauth2UserInfoUrl() {
		return oauth2UserInfoUrl;
	}

	public void setOauth2UserInfoUrl(String oauth2UserInfoUrl) {
		this.oauth2UserInfoUrl = oauth2UserInfoUrl;
	}

	public String getStylishNotifyUrl() {
		return stylishNotifyUrl;
	}

	public void setStylishNotifyUrl(String stylishNotifyUrl) {
		this.stylishNotifyUrl = stylishNotifyUrl;
	}

	public String getMsgSendUrl() {
		return msgSendUrl;
	}

	public void setMsgSendUrl(String msgSendUrl) {
		this.msgSendUrl = msgSendUrl;
	}

	public String getSelfmenuUrl() {
		return selfmenuUrl;
	}

	public void setSelfmenuUrl(String selfmenuUrl) {
		this.selfmenuUrl = selfmenuUrl;
	}

	public String getMenuCreateUrl() {
		return menuCreateUrl;
	}

	public void setMenuCreateUrl(String menuCreateUrl) {
		this.menuCreateUrl = menuCreateUrl;
	}

	public String getAutoReplyInfoUrl() {
		return autoReplyInfoUrl;
	}

	public void setAutoReplyInfoUrl(String autoReplyInfoUrl) {
		this.autoReplyInfoUrl = autoReplyInfoUrl;
	}

	public String getSendTemplateUrl() {
		return sendTemplateUrl;
	}

	public void setSendTemplateUrl(String sendTemplateUrl) {
		this.sendTemplateUrl = sendTemplateUrl;
	}

}
